package at.newmedialab.test.resource

import at.newmedialab.test.base.WebserviceBaseTest
import org.junit.Test

/**
 * Add file description here! 
 *
 * User: sschaffe
 */
class ResourceServiceTest extends WebserviceBaseTest {

    @Test public void testCreateResource() {
        def specs =
        [
            // send first a POST setting the key 'key.test' to 'Test'
            [
                    'method'  : 'POST',
                    'path'    : 'resource/1234',
                    'request' : [
                    ],
                    'response' : [
                            'code'    : 200,
                    ]

            ],
        ]

        specs.each { spec-> process(spec) }
    }

}
